package com.hardy.demo.proxy;

/**
 * Author: Hardy
 * Date:   2021/3/11
 * Description:
 **/
public class UserOption implements Option {

    private User user;

    public UserOption() {
        this.user = new User();
    }

    @Override
    public void setName(String name) {
        user.setName(name);
    }

    @Override
    public String getName() {
        return user.getName();
    }
}
